AESizeOfAttribute
attribute
dataSize );
AppleEvent * theAppleEvent ; Apple event containing the attribute AEKeyword theAEkeyword ; Apple Event keyword for attribute DescType * typeCode ; descriptor type of attribute Size * dataSize ; size of data in attribute Apple event attribute.
The parameter theAppleEvent is the Apple event containing the attribute.
The parameter theAEKeyword is the keyword that specifies the attribute.
The function returns the descriptor type of the attribute in the typeCode
parameter.
The function returns the length, in bytes, of the data contained in the
attribute in the dataSize parameter.
Result codes
noErr (0) No error
errAEDescNotFound (-1701) Descriptor record was not found
errAENotAEDesc (-1704) Not a valid descriptor record
errAEReplyNotArrived (-1718) Reply has not yet arrived